package com.derive.education_service.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

/**
 * tb_content_resources
 * @author 
 */
@Data
@ToString
@TableName("tb_content_resources")
public class ContentResources implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "cr_id", type = IdType.AUTO)
    private Integer crId;

    /**
     * 所属内容id
     */
    private Integer contentId;

    /**
     * 资源地址,一对多关系/可设置至多三张
     */
    private String crUrl;

    /**
     * 添加人id
     */
    private Integer adminId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}